<?php echo $this->Html->script(array('jquery-1.8.2', 'jquery-ui-1.9.1.custom.min')); ?>
<script>
    $(function() {
        $( "#accordion" ).accordion({
            collapsible: true, active:false
        });
    });
</script>
<h2>Report</h2>
<div id="accordion">
    <h3>Filter</h3>
    <div>
    <?php
    echo $this->Form->create('//controller//',array('action'=>'//menu_3//'));
    //textfield_attrs//
    echo $this->Form->end(array('label'=>__('Search',true), 'div'=>false, 'class'=>'ui-button ui-widget ui-state-default ui-corner-all' ));
    ?>
    </div>
</div>
<?php
    echo $this->Form->create('//controller//',array('action'=>'//menu_3//pdf'));
        //str_forms_pdf//
    echo $this->Form->end(array('label'=>__('PDF',true), 'div'=>false, 'class'=>'ui-button ui-widget ui-state-default ui-corner-all' ));
?>

    <div class="autoscroll">
        <table  cellpadding="0" cellspacing="0" class="ui-widget ui-widget-content">
            <tr class="ui-widget-header">

                //th_attrs//                
            </tr>
            <?php foreach( $//models// as $//model// ): ?>
            <tr>
                //td_attrs//                
            </tr>
            <?php endforeach; ?>
        </table>
    </div>
    <div  id="psg" >
        <?php $this->Paginator->prev('< ' . __('previous'), array('url' => array(//pdf_param//),'escape'=>false));?>
        <?php $pag_number = $this->Paginator->numbers(array('url' => array(//pdf_param//))); ?>
        <?php echo(!empty ($pag_number)) ? '|' :'';  echo $pag_number;?>
        <?php echo $this->Paginator->next(__('next') . ' >', array('url' => array(//pdf_param//),'escape'=>false));?>
    </div>